/**
 * Licensed to Open-Ones Group under one or more contributor license
 * agreements. See the NOTICE file distributed with this work
 * for additional information regarding copyright ownership.
 * Open-Ones Group licenses this file to you under the Apache License,
 * Version 2.0 (the "License"); you may not use this file
 * except in compliance with the License. You may obtain a
 * copy of the License at:
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on
 * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
package oog.product.control;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.apache.log4j.Logger;

/**
 * @author Thach Le
 *
 */
public class BaseServlet extends HttpServlet {
    /**  . */
    static final String ID_CMD = "cmd";
    /**  . */
    static final String PAGE_ERROR = "/WEB-INF/pages/error.jsp";
    /**  . */
    static final String PAGE_PRODUCT_SEARCH = "/WEB-INF/pages/productSearch.jsp";
    /**  . */
    static final String PAGE_LOGON = "/WEB-INF/pages/logon.jsp";
    
    static final String PAGE_PRODUCT_ADD = "/WEB-INF/pages/productAdd.jsp";
    
    static final String KEY_USER = "user";
    
    static final String KEY_FORM = "form";
    
    static final String KEY_ERRORLIST = "errors";
    static final String KEY_MESSAGE = "message";
    static final String KEY_PRODUCTLIST = "products";
    
    final Logger LOG = Logger.getLogger(getClass());
    
    HttpSession session;

    @Override
    protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    }
}
